<?xml version="1.0" encoding="UTF-8"?>

<window xmlns:web="http://www.yonyou.com/uapmobile/dsl" id="DM_main" controller="DM_mainController" namespace="com.yonyou.ncmm_pac_pda">
    <import ref="DM_main.css" type="css"/>
    <link type="text/css" href="sys/theme.css"/>
    <script src="#{path.controller}/commonjs/AppPatch.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/AppService.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/extjs/jquery-2.1.1.min.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_pubmenu.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_pub.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_http.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_factoryvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_stockorgvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_stordocvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_materialvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_batchcodevo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_bdwkvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_deptvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_measdocvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcoderulevo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcoderulebodyvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcodedictvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_barcodedictbodyvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_customervo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_suppliervo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_rackvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_mappingheadvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_mappingvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_datamange.js" type="text/javascript"/>
    <script src="#{path.controller}/puin/ncmm_purchaseinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/puin/ncmm_purchaseinscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/out/ncmm_deliveryvo.js" type="text/javascript"/>
    <script src="#{path.controller}/out/ncmm_deliveryscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/finProdIn/ncmm_finprodinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/finProdIn/ncmm_finprodinscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/MaterialOut/ncmm_materialoutvo.js" type="text/javascript"/>
    <script src="#{path.controller}/MaterialOut/ncmm_materialoutscansvo.js" type="text/javascript"/>
    <script src="#{path.controller}/InvCount/ncmm_invcountvo.js" type="text/javascript"/>
    <script src="#{path.controller}/InvCount/ncmm_invcountscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/transout/ncmm_transscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/transout/ncmm_transvo.js" type="text/javascript"/>
    <script src="#{path.controller}/soOut/ncmm_sovo.js" type="text/javascript"/>
    <script src="#{path.controller}/soOut/ncmm_soscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/transin/ncmm_transinvo.js" type="text/javascript"/>
    <script src="#{path.controller}/transin/ncmm_transinutil.js" type="text/javascript"/>
    <script src="#{path.controller}/transin/ncmm_transinscanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/trans4K/ncmm_whstrans.js" type="text/javascript"/>
    <script src="#{path.controller}/trans4K/ncmm_whstransscan.js" type="text/javascript"/>
    <script src="#{path.controller}/poArrive/ncmm_poarrivevo.js" type="text/javascript"/>
    <script src="#{path.controller}/poArrive/ncmm_poarrivescanvo.js" type="text/javascript"/>
    <script src="#{path.controller}/commonjs/ncmm_storestate.js" type="text/javascript"/>
    <div id="viewPage0" onload="pageload()">
        <div id="panel0" onload="bdListLoad()">
            <navigatorbar id="nb_main" title="数据管理" class="navigatorbarclass">
                <input id="btn_back" class="ngbbuttonclass" onclick="onPageBtnClick()" type="button"/>
                <div id="panel17" visible="false"/>
                <input id="btn_menu" class="imagebuttonclass" onclick="loadmenu()" istogglebutton="false" type="imagebutton" checked="false"/> 
            </navigatorbar>
            <div id="panel1">
                <toggleButtonGroup id="togglebuttongroup0" onchange="togglebtnchange()">
                    <toggleButton id="togglebutton0" value="0" class="togglebtnitemclass" textOff="档案管理" textOn="档案管理" type="button" checked="true"/>
                    <toggleButton id="togglebutton1" value="1" class="togglebtnitemclass" textOff="单据管理" textOn="单据管理" type="button"/> 
                </toggleButtonGroup>
                <div id="panel3">
                    <flipper id="flipperdefine0" onnextflipper="next()" onpreviousflipper="previous()" viewindex="0">
                        <div id="panel4">
                            <listView id="listviewdefine0" bindfield="bdlistdata" onload="bdListLoad()" onitemclick="dbListItemClick()" onrestart="loadBaseDocTab()" collapsed="true">
                                <div id="panel6">
                                    <div id="panel7">
                                        <input id="checkbox0" bindfield="ischecked" onclick="dbListitemCheckChanged()" type="checkbox"/> 
                                    </div>
                                    <div id="panel25">
                                        <div id="panel8">
                                            <div id="panel9">
                                                <div id="panel11">
                                                    <label id="label2" bindfield="appbillname">工厂</label> 
                                                </div>
                                                <div id="panel12">
                                                    <label id="label3" bindfield="downloadnum">22</label>
                                                    <div id="panel13" visible="false"/>
                                                    <label id="label4" bindfield="downloadtime">2016年9月29日 10:06</label> 
                                                </div> 
                                            </div>
                                            <div id="panel10">
                                                <image id="image0" scaletype="fitcenter" src="arrow.png"/> 
                                            </div> 
                                        </div>
                                        <div id="panel26">
                                            <progressbar progress="0" id="progressbar0" bindfield="progressbar" max="100"/> 
                                        </div> 
                                    </div> 
                                </div> 
                            </listView> 
                        </div>
                        <div id="panel5">
                            <listView id="listviewdefine1" bindfield="billlistdata" onload="billlistLoad()" collapsed="true">
                                <div id="panel18">
                                    <div id="panel19">
                                        <input id="checkbox2" bindfield="ischecked" type="checkbox"/> 
                                    </div>
                                    <div id="panel20">
                                        <div id="panel21">
                                            <label id="label1" bindfield="appbillname">材料出库单</label> 
                                        </div>
                                        <div id="panel22">
                                            <label id="label0" bindfield="downloadnum">11</label>
                                            <div id="panel23"/>
                                            <div id="panel24">
                                                <label id="label6" bindfield="downloadtime">2016年9月29日 10:06</label> 
                                            </div> 
                                        </div> 
                                    </div> 
                                </div> 
                            </listView> 
                        </div> 
                    </flipper> 
                </div> 
            </div>
            <div id="panel2">
                <div id="panel14">
                    <input id="checkbox1" bindfield="isAllChecked" onclick="onCheckAll()" type="checkbox"/>
                    <label id="label5">全选</label> 
                </div>
                <div id="panel15" visible="false"/>
                <div id="panel16">
                    <input id="button0" value="下载" class="textbtnclass" onclick="onDownloadBaseData()" type="button"/>
                    <input id="button2" value="清除" class="textbtnclass" onclick="onClearLocalData()" type="button"/> 
                </div> 
            </div> 
        </div> 
    </div> 
</window>
